'use strict'
const { prefixRequest } = require('./request-config')
module.exports = {
    '/sysToken':{
        target: `${prefixRequest}/sysToken`,  
        changeOrigin: true, 
        secure: false,
        pathRewrite: {'^/sysToken' : ''}
    },
    '/sysLogin':{
        target: `${prefixRequest}/sysLogin`,  
        changeOrigin: true, 
        secure: false,
        pathRewrite: {'^/sysLogin' : ''}
    },
    '/sysLoginWeliam': {
        target: `${prefixRequest}/sysLoginWeliam`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/sysLoginWeliam': '' }
    },
    '/logout': {
        target: `${prefixRequest}/logout`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/logout': '' }
    },
    '/logoutWeliam': {
        target: `${prefixRequest}/logoutWeliam`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/logoutWeliam': '' }
    },
    '/user/info': {
        target: `${prefixRequest}/logout`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/logout': '' }
    },
    '/getPoweredByInfo': {
        target: `${prefixRequest}/getPoweredByInfo`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getPoweredByInfo': '' }
    },
    '/storeAccountList': {
        target: `${prefixRequest}/storeAccountList`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/storeAccountList': '' }
    },
    '/logAccount': {
        target: `${prefixRequest}/logAccount`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/logAccount': '' }
    },
    '/kkk': {
        target: `${prefixRequest}/kkk`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/kkk': '' }
    },
    '/adminLogoInfo': {
        target: `${prefixRequest}/adminLogoInfo`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/adminLogoInfo': '' }
    },
    '/outAccount': {
        target: `${prefixRequest}/outAccount`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/outAccount': '' }
    },
    '/loginQrcode': {
        target: `${prefixRequest}/loginQrcode`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/loginQrcode': '' }
    },
    '/loginQrcodeResult': {
        target: `${prefixRequest}/loginQrcodeResult`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/loginQrcodeResult': '' }
    },
    '/sysLogin': {
        target: `${prefixRequest}/sysLogin`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/sysLogin': '' }
    }
}
